package com.hua.Model;

public class UserInfo {
    int id;
    String name;
    String account;
    String password;
    String sign;
    String img;
    String key;
    int storage;
    
	public UserInfo() {
		
	}

	public UserInfo(int id, String name, String account, String password, String sign, String img, String key,int storage) {
		this.id = id;
		this.name = name;
		this.account = account;
		this.password = password;
		this.sign = sign;
		this.img = img;
		this.key = key;
		this.storage=storage;
	}
	
	public int getStorage() {
		return storage;
	}

	public void setStorage(int storage) {
		this.storage = storage;
	}

	public UserInfo(String account,String password) {
		this.account=account;
		this.password=password;
	}
	
	public void register_user(String name,String account, String password) {
		this.name=name;
		this.password=password;
		this.account=account;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getAccount() {
		return account;
	}
	public void setAccount(String account) {
		this.account = account;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}
	public String getImg() {
		return img;
	}
	public void setImg(String img) {
		this.img = img;
	}
	public String getKey() {
		return key;
	}
	public void setKey(String key) {
		this.key = key;
	}
    
    
}
